package statickeyword;

public class Circle {
    private double radius;
    private static String name = "这个圆类";
    public static int count = 0;

    public Circle(double radius) {
        count ++;
        System.out.println("你创建了 " + count + " 个圆");
        this.radius = radius;
    }

    public double getRadius() {
        return radius;
    }

    public void setRadius(double radius) {
        this.radius = radius;
    }

    public static String getName() {
        return name;
    }

    public static void setName(String name) {
        Circle.name = name;
    }
}
